﻿using Bricks.Component.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Business.Models.ExpenseManagement
{
    [Description("施工标段计量数据的费用期次选择")]
    public class ConstructionContractEepenseBillBackup : EntityBase<Guid>
    {
        public ConstructionContractEepenseBillBackup()
        {
            ID = GuidHelper.NewGuid();
        }

        public Guid ContractID { get; set; }

        //费用付款ID
        public Guid PID { get; set; }

        [Required]
        public Guid BillID { get; set; }

        public string ContractStages { get; set; }

        public decimal? ContractStagesMoney { get; set; }

        public string AssociatedNodeCode { get; set; }

        public string LastUpdateUserDepartment { get; set; }

        public string LastUpdateUser { get; set; }

        public DateTime? LastUpdateTime { get; set; }

        //发送状态：为了在单据完成或者终止的时候删除没有发送的数据（没有发送的情况可能是一个节点有多个人，但是之间是or的关系或者多个or关系的节点）
        public string SendState { get; set; }
    }
}
